/*
 *Copyright © 2015 zhaorongbao
 *招融宝
 *http://zhaorongbao.com
 *All rights reserved.
 */
package com.hanhai.common.result;

import java.io.Serializable;
import java.util.List;

public class BaseResult implements Serializable{

	private static final long serialVersionUID = 9049468636718101974L;

	protected boolean isSuccess = false;

	protected String resultCode;
	
	private String msg;
	
	private List<String> msgs;

	public boolean isSuccess() {
		return isSuccess;
	}

	public void setSuccess(boolean isSuccess) {
		this.isSuccess = isSuccess;
	}



	
	@Deprecated
	public String getResultCode() {
		return resultCode;
	}

	@Deprecated
	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}



	@Override
	public String toString() {
		return "BaseResult [isSuccess=" + isSuccess + ", resultCode="
				+ resultCode  + "]";
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public List<String> getMsgs() {
		return msgs;
	}

	public void setMsgs(List<String> msgs) {
		this.msgs = msgs;
	}

}
